home *** CD-ROM | disk | FTP | other *** search
- package symantec.itools.db.awt;
-
- import symantec.itools.db.pro.Record;
- import symantec.itools.db.pro.RecordLink;
- import symantec.itools.db.pro.RelationView;
- import symjava.sql.SQLException;
-
- class DbaDataLink implements RecordLink {
- DbaDataStore store;
- int recordNumber;
- // $FF: renamed from: rv symantec.itools.db.pro.RelationView
- RelationView field_0;
-
- public DbaDataLink(DbaDataStore s) {
- this.store = s;
- }
-
- public void init() {
- this.recordNumber = -1;
- }
-
- public void notifyRecordChange(Record currentRec) throws SQLException {
- if (currentRec != null) {
- switch (currentRec.getState()) {
- case 100:
- case 101:
- case 102:
- case 103:
- case 104:
- case 106:
- if (this.field_0 == null) {
- this.field_0 = currentRec.getRelationView();
- }
-
- if (this.field_0 != null && this.field_0.getCurrentRecordNumber() != this.recordNumber) {
- this.recordNumber = this.field_0.getCurrentRecordNumber();
- this.store.changeInMaster();
- return;
- }
- case 105:
- }
- }
-
- }
- }
-